/*
 * Copyright 2018 Rohit Awate.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* General rules for EverestCodeArea */

.everest-code-area {
    -fx-background-color: #282828;
}

.everest-code-area .text {
    -fx-fill: #ababab;
    -fx-font-family: "Liberation Mono", "Consolas", "Courier New", "Monaco", "DejaVu Sans Mono", monospace;
    -fx-font-size: 15px;
}

.everest-code-area .caret {
    -fx-stroke: white;
}

.plain-text {
    -fx-fill: azure !important;
}

/* Common to JSON and XML */

.xml_bracket,
.json_curly {
    -fx-fill: coral !important;
}

.xml_tag,
.json_property {
    -fx-fill: orange !important;
    -fx-font-weight: bold;
}

.xml_attribute_value,
.json_value {
    -fx-fill: cornflowerblue !important;
}

/* JSON-specific */

.json_array {
    -fx-fill: limegreen !important;
}

.json_bool {
    -fx-fill: crimson !important;
    -fx-font-weight: bold;
}

.json_number {
    -fx-fill: greenyellow !important;
    -fx-font-weight: bold;
}

/* XML-specific */

.xml_attribute {
    -fx-fill: darkviolet !important;
}

.xml_comment {
    -fx-fill: teal !important;
}
